/*
 * Copyright (c)  2015~2020, xforceplus
 * All rights reserved.
 * Project:datacare-orm
 * Id: StrongValue.java   2020-09-28 23-03-40
 * Author: Evan
 */
package cn.datacare.orm.query;

/**
 * <p>
 * Title: StrongValue
 * </p>
 * <p>
 * Description: 健壮的查询变量，用于空值，null等多情况判断,用户可以自定义自己的实现
 * </p>
 * <p>
 * Copyright: 2015~2020
 * </p>
 * <p>
 * Company/Department: xforceplus
 * </p>
 *
 * @author Evan
 * <b>Creation Time:</b> 2020-09-28 23-03-40
 * @since V1.0
 */
public interface StrongValue {
    /**
     * value是否是一个有效的值
     * 返回false则不进行SQL组装
     * @return
     */
    boolean isEffective();

    /**
     * 获取实际的value值
     * @return
     */
    Object getValue();
}
